. /data/java/shiang/paddatastat/classpath.sh
export CLASSPATH
cd /data/java/shiang/paddatastat/bin
days=30
while [ $days -le  36 ]
do
	dateStr=`date "-d $days days ago" +%Y-%m-%d`
	echo $dateStr
	((days+=1))
	/usr/local/java/jdk/bin/java -Xms128m -Xmx2048m -XX:PermSize=64m -XX:MaxPermSize=512m com.tencent.pad.stat2.StatRetentionRateJob $dateStr
done
